package com.easylinkin.linkappapi.linkage.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.easylinkin.linkappapi.linkage.entity.LinkageConfigRefDownDevice;
import com.easylinkin.linkappapi.linkage.mapper.LinkageConfigRefDownDeviceMapper;
import com.easylinkin.linkappapi.linkage.service.LinkageConfigRefDownDeviceService;
import com.easylinkin.linkappapi.ruleengine.entity.RuleExecution;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 智能规则联动配置关联设备表 服务实现类
 * </p>
 *
 * @author TongJie
 * @since 2020-05-18
 */
@Service
public class LinkageConfigRefDownDeviceServiceImpl extends ServiceImpl<LinkageConfigRefDownDeviceMapper, LinkageConfigRefDownDevice> implements LinkageConfigRefDownDeviceService {


    @Override
    public List<LinkageConfigRefDownDevice> listByRuleExecution(RuleExecution ruleExecution) {
        return baseMapper.listByRuleExecution(ruleExecution);
    }
}
